package cn.iocoder.yudao.module.lfd.convert.wallet;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.lfd.controller.admin.wallet.vo.*;
import cn.iocoder.yudao.module.lfd.dal.dataobject.wallet.WalletDO;

/**
 * 钱包 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface WalletConvert {

    WalletConvert INSTANCE = Mappers.getMapper(WalletConvert.class);

    WalletDO convert(WalletCreateReqVO bean);

    WalletDO convert(WalletUpdateReqVO bean);

    WalletRespVO convert(WalletDO bean);

    List<WalletRespVO> convertList(List<WalletDO> list);

    PageResult<WalletRespVO> convertPage(PageResult<WalletDO> page);

    List<WalletExcelVO> convertList02(List<WalletDO> list);

}
